#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.db import models

class TDevData(models.Model):
    """
    dev_data 表模型，归属于 result 数据库
    @Author: kindey
    @Date: 2025/8/5
    @Description:
    """
    id = models.AutoField(primary_key=True)
    data_type = models.CharField(max_length=3)
    data_id = models.IntegerField()
    dev_id = models.IntegerField()
    reg_id = models.IntegerField()
    data_value = models.FloatField()
    data_time = models.TextField()

    class Meta:
        db_table = 'dev_data'
        app_label = 'result'
